<script type="text/javascript">
function createPlayer(tv) {
				var filestream = 'http://kandangan.tv/'+tv;
				jwplayer('mediaplayer').setup({
					 flashplayer: 'http://bagan.tv/player/jwplayer6.12/jwplayer.flash.swf',
					html5player: '',
image: 'https://kdtvplayer1.googlecode.com/svn/logo/OFFAIR.gif',
logo: {file: "https://kdtvplayer1.googlecode.com/svn/logo/LOGO-KDTV.gif",position: 'bottom-left', margin: '10',link: "http://www.kandangan-tv.com/"},stretching: 'exactfit',
                                    title: 'ADI TV', 
                                    skin: 'bekle',
                                    width: '100%',
                                    height: '99%',
                                    primary: 'html5',
					bufferlength: '5',
      sources: [{
       
        file: filestream
       },{
file: 'rtmp://flash1.broadcastindo.net:1935/'+tv+'/aditv'
        }]

                                });
    jwplayer().play(); return false;
   }
   function id(kandanganTV) {
    createPlayer(kandanganTV);
   }
  </script>
<script type="text/javascript">id('aditv');</script></div>
